-- GENERATED SPELL FOR [Forgemaster Damrath] --


function spell0_26334(pUnit, Event) --@Forge Force,n/a--
pUnit:FullCastSpellOnTarget(52640,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26334', 3332, 1)
end

function Sorts_26334(pUnit, Event)
local choix_sorts_26334 = math.random(0, 0)
if choix_sorts_26334 == 0 then
pUnit:RegisterEvent('spell0_26334', 1, 1)
end
end

function mob26334_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26334', math.random(1500, 3000), 1)
end

function mob26334_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26334_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26334_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26334, 1, 'mob26334_Action')
RegisterUnitEvent(26334, 2, 'mob26334_Leave')
RegisterUnitEvent(26334, 3, 'mob26334_Kill')
RegisterUnitEvent(26334, 4, 'mob26334_Die')
